<div class="header2018 ">
    <div class="header2018-content">
        {if condition="$Request.session.user.nc == ''"}
        <!--登录注册-->
        <div class="header2018-unlogin" style="display:block;">
            <a rel="nofollow" href="{:url('/users/login')}" class="header2018-unloginlink header2018-unloginlink1">登录</a>
            <!--<a rel="nofollow" href="#" class="header2018-unloginlink header2018-unloginlink2">注册</a>-->
        </div>
        {else /}
        <!--登录成功-->
        <div class="header2018-login" style="position:absolute;display:block;z-index: 999;">
            <div class="header2018-user">
                <div class="header2018-username"><a href="#" rel="nofollow">{$Request.session.user.nc}</a></div>
                <span class="icon18 icon18-arrow2"></span>
                <ul class="header2018-userlink">
                    <li>
                        <div><a href="{:url('/users/center')}"><span class="icon18 icon18-list1"></span>我的课程<em>99</em></a></div>
                    </li>
                    <!--<li>
                        <div><a><span class="icon18 icon18-list4"></span>我的消息<b class="redpoint"></b></a></div>
                    </li>
                    <li>
                        <div><a href="#"><span class="icon18 icon18-list2"></span>个人资料</a></div>
                    </li>-->
                    <li>
                        <div><a href="{:url('/users/quit')}"><span class="icon18 icon18-list3"></span>退出登录</a>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        {/if}
        <!--导航 278-->
        <div>
            <img src="__ROOT__/uploads/logo_bkf.jpg" alt="枣课网" style="margin-top: 25px;float: left;margin-right: 59px;margin-left: 9px;width: 278px;height: 79px;background-size:cover;">
            <a href="{:url('/')}" rel="nofollow" class="header2018-link header2018-center" style="margin-left: -12px">首页</a>
            <a href="{:url('/course/list/level/1/name/0')}" rel="nofollow" class="header2018-link header2018-center" style="margin-left:23px">入门课</a>
            <a href="{:url('/course/list/level/2/name/0')}" rel="nofollow" class="header2018-link header2018-center" style="margin-left:23px">进阶课</a>
            <a href="{:url('/course/list/level/3/name/0')}" rel="nofollow" class="header2018-link header2018-center" style="margin-left:23px">实战课</a>
            <a href="{:url('/course/list/level/4/name/0')}" rel="nofollow" class="header2018-link header2018-center" style="margin-left:23px">体系课</a>
        </div>
        <!--<input id="search_btn" name="search_btn" type="button" class="qx_search_btn" value="搜索" />
        <input id="search_key" name="search_key" type="text" class="qx_search_input" placeholder="Python" />-->
    </div>
</div>